package com.dds.system.service.union;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.dds.system.domain.search.union.UnionShopOrderSearch;
import com.dds.system.domain.union.UnionShopOrder;

/**
 * 联盟商订单Service接口
 * 
 * @author ruoyi
 * @date 2021-04-01
 */
public interface IUnionShopOrderService 
{
    /**
     * 查询联盟商订单
     * 
     * @param orderId 联盟商订单ID
     * @return 联盟商订单
     */
    public UnionShopOrder selectUnionShopOrderById(Integer orderId);

    /**
     * 查询联盟商订单列表
     *
     * @return 联盟商订单集合
     */
    public List<Map<String, Object>> selectUnionShopOrderList(UnionShopOrderSearch unionShopOrderSearch);

    /**
     * 新增联盟商订单
     * 
     * @param unionShopOrder 联盟商订单
     * @return 结果
     */
    public int insertUnionShopOrder(UnionShopOrder unionShopOrder);

    /**
     * 修改联盟商订单
     * 
     * @param unionShopOrder 联盟商订单
     * @return 结果
     */
    public int updateUnionShopOrder(UnionShopOrder unionShopOrder);

    /**
     * 批量删除联盟商订单
     * 
     * @param orderIds 需要删除的联盟商订单ID
     * @return 结果
     */
    public int deleteUnionShopOrderByIds(Integer[] orderIds);

    /**
     * 删除联盟商订单信息
     * 
     * @param orderId 联盟商订单ID
     * @return 结果
     */
    public int deleteUnionShopOrderById(Integer orderId);

    Map<String, Object> getOrderData(String selectDay);
}
